package com.taotao.manager.service.impl;

import com.taotao.manager.mapper.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.taotao.manager.service.TestService;

@Service
public class TestServiceImpl implements TestService {
    //注入mapper
    //调用mapper中的方法
    @Autowired
    private TestMapper testMapper;
    @Override
    public String queryNow() {
        return testMapper.queryNow();
    }
}
